<form id="edit-member-form" method="post" action="detail-edit-function.php?sys_part=employee&nowpageid=<?echo $nowpageid?>"
      enctype="multipart/form-data" class="layui-form">

<div class="layui-form-item">
    <label class="layui-form-label">身份证号码</label>
    <div class="layui-input-block">
        <input type="text" name="ai_idnumber" placeholder="请输职员身份证号码" autocomplete="off" class="layui-input" value="<? echo $employee['idnumber']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">生日日期</label>
    <div class="layui-input-block">
        <input type="text" name="ai_birthday" id="date" autocomplete="off" class="layui-input"  value="<? echo $employee['birthday']?>" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" class="laydate-icon">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">电话</label>
    <div class="layui-input-block">
        <input type="text" name="ai_phone" placeholder="请输职员电话" autocomplete="off" class="layui-input" value="<? echo $employee['phone']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">银行卡号</label>
    <div class="layui-input-block">
        <input type="text" name="ai_banknumber" placeholder="请输入职员银行卡号" autocomplete="off" class="layui-input" value="<? echo $employee['banknumber']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">开户行名称</label>
    <div class="layui-input-block">
        <input type="text" name="ai_bank" placeholder="请输职员银行卡号开户行名称" autocomplete="off" class="layui-input" value="<? echo $employee['bank']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">学历</label>
    <div class="layui-input-block">
        <select name="ai_education">
            <option value="" <? if($employee['education']==""){echo "selected";} ?>>无</option>
            <option value="小学" <? if($employee['education']=="小学"){echo "selected";} ?>>小学</option>
            <option value="初中" <? if($employee['education']=="初中"){echo "selected";} ?>>初中</option>
            <option value="高中" <? if($employee['education']=="高中"){echo "selected";} ?>>高中</option>
            <option value="大专" <? if($employee['education']=="大专"){echo "selected";} ?>>大专</option>
            <option value="本科" <? if($employee['education']=="本科"){echo "selected";} ?>>本科</option>
            <option value="硕士" <? if($employee['education']=="硕士"){echo "selected";} ?>>硕士</option>
            <option value="博士" <? if($employee['education']=="博士"){echo "selected";} ?>>博士</option>
        </select>
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">毕业院校</label>
    <div class="layui-input-block">
        <input type="text" name="ai_school" placeholder="请输职员毕业院校" autocomplete="off" class="layui-input" value="<? echo $employee['school']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">专业</label>
    <div class="layui-input-block">
        <input type="text" name="ai_speciality" placeholder="请输职员所属专业" autocomplete="off" class="layui-input" value="<? echo $employee['speciality']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">通讯地址</label>
    <div class="layui-input-block">
        <input type="text" name="ai_liveaddress" placeholder="请输职员通讯地址" autocomplete="off" class="layui-input" value="<? echo $employee['liveaddress']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">紧急联系人</label>
    <div class="layui-input-block">
        <input type="text" name="ai_emergentname" placeholder="请输职员紧急联系人" autocomplete="off" class="layui-input" value="<? echo $employee['emergentname']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">紧急联系人电话</label>
    <div class="layui-input-block">
        <input type="text" name="ai_emergentphone" placeholder="请输职员紧急联系人电话" autocomplete="off" class="layui-input" value="<? echo $employee['emergentphone']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">合同编号</label>
    <div class="layui-input-block">
        <input type="text" name="ai_contractnumber" placeholder="请输职员合同编号" autocomplete="off" class="layui-input" value="<? echo $employee['contractnumber']?>">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">合同开始时间</label>
    <div class="layui-input-block">
        <input type="text" name="ai_contractstartdate" id="date" autocomplete="off" class="layui-input"  value="<? echo $employee['contractstartdate']?>" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" class="laydate-icon">
    </div>
</div>

<div class="layui-form-item">
    <label class="layui-form-label">合同到期时间</label>
    <div class="layui-input-block">
        <input type="text" name="ai_contractenddate" id="date" autocomplete="off" class="layui-input"  value="<? echo $employee['contractenddate']?>" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" class="laydate-icon">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">团体意外险购买时间</label>
    <div class="layui-input-block">
        <input type="text" name="ai_insurestartdate" id="date" autocomplete="off" class="layui-input"  value="<? echo $employee['insurestartdate']?>" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" class="laydate-icon">
    </div>
</div>

<div class="layui-form-item">
    <label class="layui-form-label">团体意外险停止时间</label>
    <div class="layui-input-block">
        <input type="text" name="ai_insureenddate" id="date" autocomplete="off" class="layui-input"  value="<? echo $employee['insureenddate']?>" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" class="laydate-icon">
    </div>
</div>


    <input type="hidden" name="nid"        value="<? echo $employee['nid'] ?>">
    <input type="hidden" name="sys_part"   value="<? echo $_REQUEST['sys_part'] ?>">
    <input type="hidden" name="nowpageid"  value="<? echo $_REQUEST['nowpageid'] ?>"/>
    <input type="hidden" name="sortby"     value="<? echo $_REQUEST['sortby'] ?>"/>


    <div class="function">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formMemberAdd" type="submit">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>

</form>